package com.yan.operator.Demo;

import java.util.Scanner;

public class OperatorDemo3 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入第一个数字");
        int num1 = input.nextInt();
        System.out.println("请输入第二个数字2");
        int num2 = input.nextInt();
        // 比较
        System.out.println("两个数是否相等" + (num1 == num2));

    }
}
